<html>
	<head>
		<meta charset="UTF-8">
		<title>门卫大屏</title>
		<style type="text/css">
			body, td, th {
				font-family: 微软雅黑;
				font-size: 32px;
			}

			.show-head {
				background: #2E1A86;
				color: white;
			}
			.show-head td {
				border-bottom: 1px solid white;
				padding: 0px 3px;
			}
			.show-tr-odd {
				background: #333b42;
				color: white;
			}
			.show-tr-even {
				background: #4C5053;
				color: white;
			}
			.show-tr-odd td, .show-tr-even td {
				border-bottom: 1px solid white;
				padding: 5px 3px;
			}
			.green {
				color: #47E747;
			}
			.red {
				color: red;
			}
			.yellow {
				color: yellow;
			}
		</style>
	</head>
	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr class="show-head">
				<td>公司名称<br/>COM</td>
				<td>车牌号<br/>NUM</td>
				<td>入库时间<br/>TIME</td>
				<td>入库位置<br/>POS</td>
				<td>状态<br>STATE</td>
			</tr>
			#for(scheduler : schedulerList)
				#if(for.even)
				<tr class="show-tr-even">
				#else
				<tr class="show-tr-odd">
				#end
					<td>#(scheduler.company)</td>
					<td>#(scheduler.van)</td>
					<td>#(tools.getTimeScope(scheduler.planTime))</td>
					<td>#(scheduler.position)</td>
					#if(scheduler.status == com.denso.store.common.Status::WAIT)
					<td>
					#elseif(scheduler.status == com.denso.store.common.Status::ARRIVE)
					<td class="yellow">
					#elseif(scheduler.status == com.denso.store.common.Status::PASS || scheduler.status == com.denso.store.common.Status::IN)
					<td class="green">
					#elseif(tools.isLate(scheduler.planTime))
					<td class="red">
					#else
					<td>
					#end
						#(status.getStr(scheduler.status))
					</td>
				</tr>
			#else
				<tr>
					<td colspan="5">暂无计划</td>
				</tr>
			#end
		</table>
		<script src="/assets/js/jquery.min.js"></script>
<script>
$(function () {
	setInterval(function () {
		window.location.href = "/dash/index";
	}, 4000);
});
</script>
	</body>
</html>